package com.kj.tms.pri.system.user.dto;

import com.kj.tms.common.bean.dto.BaseDto;
import com.kj.tms.pri.system.menu.dto.ModuleDto;
import com.kj.tms.pri.system.org.dto.OrgDto;
import com.kj.tms.pri.system.role.dto.RoleDto;

import java.sql.Timestamp;
import java.util.List;
import java.util.Map;

/**
 * <p>项目名称：system<p>
 * <p>类名称：UserDto<p>
 * <p>类描述：用户信息类Dto<p>
 *
 * @author 创建人：yangruidong
 * @author 创建时间： 2017年10月18日 9:41
 * @author 修改人：yangruidong
 * @author 修改时间：2017年10月18日 9:41
 * @author 修改备注：
 * @version: 2017年10月18日
 */
public class UserDto extends BaseDto {

    private static final long serialVersionUID = 1L;
    //主键ID
    private String userId;
    //登录账号
    private String userCode;
    //用户姓名
    private String userName;
    //所属部门
    private String organization;
    //手机号
    private String phoneNo;
    //邮箱
    private String email;
    //密码
    private String password;
    //登录IP
    private String ip;
    //当前所属组织机构ID
    private String curUserOrgCode;

    //当前所属组织机构名称
    private String curUserOrgName;
    //创建人
    private String createUser;
    //创建时间
    private Timestamp createTime;
    //创建时间 前端显示
    private String createTimeStr;
    private String createTimeStart;
    private String createTimeEnd;
    //更新人
    private String updateUser;
    //更新时间
    private Timestamp updateTime;
    //更新时间 前端显示
    private String updateTimeStr;
    //有效标志   0失效 1有效
    private String validMark;
    //删除标识  0 未删除   1已删除
    private String delMark;
    //备注
    private String remark;

    private String orgCode;
    private String orgName;
    private String roleId;
    private String roleName;
    private String roleNameList;
    private String operateTime;
    private String operateName;
    //当前角色列表
    private List<RoleDto> roleDtos;
    //当前菜单列表
    private List<ModuleDto> moduleDtos;
    //截取当前菜单路径
    private Map sortUrl;

    //当前机构列表
    private List<OrgDto> orgDtos;

    //有效标志   0失效 1有效
    private String validMarkName;

    //未分配权限人员判断标识
    private boolean noPerFlag = false;

    //选取机构的判断标识
    private boolean orgFlag = false;

    //勾选下级机构的判断标识
    private boolean subOrgFlag = false;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getOrganization() {
        return organization;
    }

    public void setOrganization(String organization) {
        this.organization = organization;
    }

    public String getPhoneNo() {
        return phoneNo;
    }

    public void setPhoneNo(String phoneNo) {
        this.phoneNo = phoneNo;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getCurUserOrgCode() {
        return curUserOrgCode;
    }

    public void setCurUserOrgCode(String curUserOrgCode) {
        this.curUserOrgCode = curUserOrgCode;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    public String getValidMark() {
        return validMark;
    }

    public void setValidMark(String validMark) {
        this.validMark = validMark;
    }

    public String getDelMark() {
        return delMark;
    }

    public void setDelMark(String delMark) {
        this.delMark = delMark;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRoleNameList() {
        return roleNameList;
    }

    public void setRoleNameList(String roleNameList) {
        this.roleNameList = roleNameList;
    }

    public String getOperateTime() {
        return operateTime;
    }

    public void setOperateTime(String operateTime) {
        this.operateTime = operateTime;
    }

    public String getOperateName() {
        return operateName;
    }

    public void setOperateName(String operateName) {
        this.operateName = operateName;
    }

    public List<RoleDto> getRoleDtos() {
        return roleDtos;
    }

    public void setRoleDtos(List<RoleDto> roleDtos) {
        this.roleDtos = roleDtos;
    }

    public List<ModuleDto> getModuleDtos() {
        return moduleDtos;
    }

    public void setModuleDtos(List<ModuleDto> moduleDtos) {
        this.moduleDtos = moduleDtos;
    }

    public Map getSortUrl() {
        return sortUrl;
    }

    public void setSortUrl(Map sortUrl) {
        this.sortUrl = sortUrl;
    }

    public List<OrgDto> getOrgDtos() {
        return orgDtos;
    }

    public void setOrgDtos(List<OrgDto> orgDtos) {
        this.orgDtos = orgDtos;
    }

    public String getCreateTimeStart() {
        return createTimeStart;
    }

    public void setCreateTimeStart(String createTimeStart) {
        this.createTimeStart = createTimeStart;
    }

    public String getCreateTimeEnd() {
        return createTimeEnd;
    }

    public void setCreateTimeEnd(String createTimeEnd) {
        this.createTimeEnd = createTimeEnd;
    }

    public String getValidMarkName() {
        return validMarkName;
    }

    public void setValidMarkName(String validMarkName) {
        this.validMarkName = validMarkName;
    }

    public String getCreateTimeStr() {
        return createTimeStr;
    }

    public void setCreateTimeStr(String createTimeStr) {
        this.createTimeStr = createTimeStr;
    }

    public String getUpdateTimeStr() {
        return updateTimeStr;
    }

    public void setUpdateTimeStr(String updateTimeStr) {
        this.updateTimeStr = updateTimeStr;
    }

    public String getCurUserOrgName() {
        return curUserOrgName;
    }

    public void setCurUserOrgName(String curUserOrgName) {
        this.curUserOrgName = curUserOrgName;
    }

    public boolean isNoPerFlag() {
        return noPerFlag;
    }

    public void setNoPerFlag(boolean noPerFlag) {
        this.noPerFlag = noPerFlag;
    }

    public boolean isOrgFlag() {
        return orgFlag;
    }

    public void setOrgFlag(boolean orgFlag) {
        this.orgFlag = orgFlag;
    }

    public boolean isSubOrgFlag() {
        return subOrgFlag;
    }

    public void setSubOrgFlag(boolean subOrgFlag) {
        this.subOrgFlag = subOrgFlag;
    }
}
